//--------------------------------------------------------------
//
// Qizhi Zhang 
// ezhung@gmail.com
// http://www.moorwind.com
//
//--------------------------------------------------------------
package reader.model.vo
{
	import __AS3__.vec.Vector;
	
	[Bindable]
	public class PhotoVO
	{
		public var smallimageuri:String;		
		public var caption:String;		
		public var photoid:String;
		public var imageuri:String;
		
		//----------------------------------------------------------------------------
		//
		// Convert Vector to Array
		//
		//----------------------------------------------------------------------------
		
		public static function VectorToArray(v:Vector.<PhotoVO>):Array/* of PhotoVO */
		{
			var a:Array = [];
			for each(var i:PhotoVO in v)
			{
				a.push(i);
			}
			return a;
		}

	}
}